<template>
  <div class="main">
    <div class="wrap">
      <div class="maintitle">
        <h1><img src="../assets/img/jingpin.png" alt="" /> 精品推荐</h1>
        <p>更多 <img src="../assets/img/arrow.png" alt="" /></p>
      </div>
      <div class="product">
        <div>
          <img src="../assets/img/404.94e7c552.jpg" alt="" />
          <div class="info">
            <p>叩丁狼精品体恤<br /><span>200积分</span></p>
            <button>立即兑换</button>
          </div>
        </div>
        <div>
          <img src="../assets/img/404.94e7c552.jpg" alt="" />
          <div class="info">
            <p>叩丁狼精品体恤<br /><span>200积分</span></p>
            <button>立即兑换</button>
          </div>
        </div>
        <div>
          <img src="../assets/img/404.94e7c552.jpg" alt="" />
          <div class="info">
            <p>叩丁狼精品体恤<br /><span>200积分</span></p>
            <button>立即兑换</button>
          </div>
        </div>
        <div>
          <img src="../assets/img/404.94e7c552.jpg" alt="" />
          <div class="info">
            <p>叩丁狼精品体恤<br /><span>200积分</span></p>
            <button>立即兑换</button>
          </div>
        </div>
      </div>

      <div class="maintitle">
        <h1><img src="../assets/img/hot.png" alt="" /> 热门兑换</h1>
        <p>更多 <img src="../assets/img/arrow.png" alt="" /></p>
      </div>

      <div>
        <img src="../assets/img/ad.4c6b6225.png" alt="" />
      </div>
      <ul class="listinfo">
        <li>
          <div>
            <img src="../assets/img/404.94e7c552.jpg" alt="" />
            <div class="info">
              <p>叩丁狼精品体恤<br /><span>200积分</span></p>
              <button>立即兑换</button>
            </div>
          </div>
        </li>
        <li>
          <div>
            <img src="../assets/img/404.94e7c552.jpg" alt="" />
            <div class="info">
              <p>叩丁狼精品体恤<br /><span>200积分</span></p>
              <button>立即兑换</button>
            </div>
          </div>
        </li>
        <li>
          <div>
            <img src="../assets/img/404.94e7c552.jpg" alt="" />
            <div class="info">
              <p>叩丁狼精品体恤<br /><span>200积分</span></p>
              <button>立即兑换</button>
            </div>
          </div>
        </li>
        <li>
          <div>
            <img src="../assets/img/404.94e7c552.jpg" alt="" />
            <div class="info">
              <p>叩丁狼精品体恤<br /><span>200积分</span></p>
              <button>立即兑换</button>
            </div>
          </div>
        </li>
        <li>
          <div>
            <img src="../assets/img/404.94e7c552.jpg" alt="" />
            <div class="info">
              <p>叩丁狼精品体恤<br /><span>200积分</span></p>
              <button>立即兑换</button>
            </div>
          </div>
        </li>
        <li>
          <div>
            <img src="../assets/img/404.94e7c552.jpg" alt="" />
            <div class="info">
              <p>叩丁狼精品体恤<br /><span>200积分</span></p>
              <button>立即兑换</button>
            </div>
          </div>
        </li>
        <li>
          <div>
            <img src="../assets/img/404.94e7c552.jpg" alt="" />
            <div class="info">
              <p>叩丁狼精品体恤<br /><span>200积分</span></p>
              <button>立即兑换</button>
            </div>
          </div>
        </li>
        <li>
          <div>
            <img src="../assets/img/404.94e7c552.jpg" alt="" />
            <div class="info">
              <p>叩丁狼精品体恤<br /><span>200积分</span></p>
              <button>立即兑换</button>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.main {
  .wrap {
    // background-color: red;
    height: 1850px;
  }
  width: 100%;

  background-color: #f5f5f5;
  margin-top: 10px;
  .maintitle {
    height: 100px;
    // background-color: red;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 10px;
    h1 {
      color: #242b39;
      line-height: 29px;

      font-size: 30px;
      font-family: SourceHanSansSC;
      font-weight: bold;
    }
    p {
      font-size: 16px;
      font-family: SourceHanSansSC;
      font-weight: 300;
      color: #666666;
      line-height: 23px;
    }
  }
  .product {
    display: flex;
    justify-content: space-between;

    text-align: center;
    img {
      width: 285px;
      height: 250px;
    }
    .info {
      width: 285px;
      height: 162px;
      background: #ffffff;
      line-height: 40px;
      padding-top: 40px;
      span {
        color: #fd604d;
      }
    }
  }
  .listinfo {
    // flex-wrap: wrap;
    text-align: center;
    justify-content: space-between;
    li {
      display: flex;
      margin-top: 20px;
      width: 285px;
      padding-bottom: 32px;
      box-sizing: border-box;
      position: relative;
      float: left;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      background: #fff;
      margin-right: 12px;
      cursor: pointer;
    }
    .list {
      //   flex: 6;
      margin-top: 20px;
    }

    img {
      width: 285px;
      height: 250px;
    }
    .info {
      width: 285px;
      height: 162px;
      background: #ffffff;
      line-height: 40px;

      span {
        color: #fd604d;
      }
    }
  }
}
</style>
